/*
 * @Description: 
 * @Author: ljl
 * @Date: 2024-09-05 11:26:28
 * @LastEditors: rendc
 * @LastEditTime: 2024-09-05 11:42:11
 */
public class Test_Add{
    public static void main(String[] args){
        int[][] arr =new int[][]{{1,2,3},{4,5,6}};
        
        int sum=0;

        for(int i=0;i<=1;i++){

            for(int j=0;j<=2;j++)
            {
                sum+=arr[i][j];
            }
        }
        System.out.println("sum:"+sum);
    } 
}